package com.tencent.wxcloudrun.model;

import java.util.Date;

public class Token {
    private int id;

    private String value;

    private Date createTime;

    private Date updateTime;

    private int dataStatus;

    private Date expireTime;

    private int userId;

    public Token() {
    }

    public Token(int id, String value, Date createTime, Date updateTime, int dataStatus, Date expireTime, int userId) {
        this.id = id;
        this.value = value;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.dataStatus = dataStatus;
        this.expireTime = expireTime;
        this.userId = userId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(int dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Token{" +
                "id=" + id +
                ", value='" + value + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", dataStatus=" + dataStatus +
                ", expireTime=" + expireTime +
                ", userId=" + userId +
                '}';
    }
}
